withComponents

open override fun withComponents(x: Double): MutableVec1(source)

Creates a vector with the specified component.

Return

A vector with the specified component.

Parameters

x

The x component.